package learningThread.syn.synchronizedMethodLockObj.part1;


public class Thread3 extends Thread {

    private OperationObj1 operationObj;

    public Thread3(OperationObj1 obj){
        this.operationObj = obj;
    }

    @Override
    public void run() {
        operationObj.method("a");
    }
}
